
import HomePage from '@/pages/home.vue';//首页
import AboutPage from '@/pages/about.vue';//老人详情
import loging from '@/pages/login_ing.vue';
import index from '@/pages/index.vue';
import NotFoundPage from '@/pages/not-found.vue';
import PanelLeftPage from '@/pages/panel-left.vue';//左侧菜单（护理员）
import PanelLeftPage2 from '@/pages/panel-left2.vue';//左侧菜单(护理班长)
import home_code from '@/pages/home-code.vue';//标签扫描(首页)



export default [
  {
    path: '/login/',
    component: loging,
  },
  {
    path: '/index/',
    component: index,
  },
  {
    path: '/home/',
    component: HomePage,
  },
  {
    path: '/panel-left/',
    component: PanelLeftPage,
  },
  {
    path: '/panel-left2/',
    component: PanelLeftPage2,
  },
  {
    path: '/about/:oldId/',
    component: AboutPage,
  },
  {
    path: '/home_code/',//@params kind 1首页扫描
    component: home_code,
  },
  {
    path: '(.*)',
    component: NotFoundPage,
  },
];
